//
// File.hh for 206observ in /home/morel_t//Rendu/maths/206observ
// 
// Made by thomas morel
// Login   <morel_t@epitech.net>
// 
// Started on  Mon May  7 09:35:37 2012 thomas morel
// Last update Mon May  7 11:16:19 2012 thomas morel
//

#ifndef FILE_HH_
# define FILE_HH_

#include	<vector>
#include	<string>

class		File
{
public:
  File(const std::string &filename);
  ~File();

  std::string			getFilename() const;
  std::string			getLineByIndex(unsigned int index) const;
  void				printFile() const;
  std::vector<std::string>	getLines() const;

private:
  std::string			getFile() const;
  void				getLines(const std::string &file);

private:
  std::string			filename_;
  std::vector<std::string>	lines_;
};

#endif // !FILE_HH_
